package com.bw.module_notice.repo

import com.bw.module_notice.api.NoticeApiServer
import com.bw.lib_common.model.BaseRepository
import com.bw.lib_http.OkHttpClientManager
class NoticeRepo: BaseRepository<NoticeApiServer>() {

    override fun createApiServer(): NoticeApiServer = OkHttpClientManager.retrofitInstance.create(
        NoticeApiServer::class.java)

    suspend fun getNoticeList(userId : Int) = apiService.getNotice(userId)
}